package com.netease.cloud.cm.model.response;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class BasicResponse {

    @JsonProperty("RequestId")
    protected String requestId;

    @JsonProperty("Code")
    protected String code;

    @JsonProperty("Message")
    protected String message;

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @JsonProperty("Offset")
    protected Integer offset;

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @JsonProperty("Limit")
    protected Integer limit;

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @JsonProperty("Count")
    protected Integer count;

}
